<template>
	<view class="content">
		<view class="navgator" :style="{'padding-top':statusHeight + 'px'}">
			<uni-row class="title">
				<uni-col :span="8">
					<image mode="widthFix" src="@/static/src_libs_eui_icon_back.png" class="img1" @click="backTo">
					</image>
				</uni-col>
				<uni-col :span="8">
					<view style="text-align: center;">
						<text>使用设置</text>
					</view>
				</uni-col>
				<uni-col :span="8">
				</uni-col>
			</uni-row>
		</view>

		<view class="cell" style="margin-top: 20px;">
			<text>Touch ID</text>
			<image mode="widthFix" src="@/static/src_libs_eui_icon_switchclose.png" class="img2"></image>
		</view>


		<view class="cell" style="margin-top: 20px;">
			<text>隐藏余额</text>
			<image mode="widthFix" src="@/static/src_libs_eui_icon_switchclose.png" class="img2"></image>
		</view>
		<view class="text-color" style="margin-left: 20px;margin-top:5px;font-size: 14px;">
			开启隐私模式后钱包的资产和金额将会隐藏
		</view>
		<view class="cell" style="margin-top: 20px;">
			<text>多语言</text>
			<view class="cell-right">
				<text class="text-color" style="font-size: 18px;">简体中文</text>
				<image mode="widthFix" src="@/static/src_libs_eui_icon_previewright.png" class="img3"></image>
			</view>
		</view>
		<view class="cell" >
			<text>货币单位</text>
			<view class="cell-right">
				<text class="text-color" style="font-size: 18px;">USD</text>
				<image mode="widthFix" src="@/static/src_libs_eui_icon_previewright.png" class="img3"></image>
			</view>
		</view>
		<view class="cell" >
			<text>节点设置</text>
			<view class="cell-right">
				<image mode="widthFix" src="@/static/src_libs_eui_icon_previewright.png" class="img3"></image>
			</view>
		</view>
		<view class="cell" >
			<text>DApp 设置</text>
			<view class="cell-right">
				<image mode="widthFix" src="@/static/src_libs_eui_icon_previewright.png" class="img3"></image>
			</view>
		</view>
		<view class="cell" >
			<text>网络检测</text>
			<view class="cell-right">
				<image mode="widthFix" src="@/static/src_libs_eui_icon_previewright.png" class="img3"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: "",
				title: "",
			}
		},
		onLoad(options) {

		},
		methods: {
			backTo() {
				this.Api.back()
			}
		},
		computed: {
			//状态栏高度
			statusHeight() {
				return uni.getSystemInfoSync().statusBarHeight || 10; //如果没有获取到高度，那么指定10px；
			}
		}
	}
</script>

<style scoped>
	.content {
		height: calc(100vh - var(--window-top));
		background: rgb(242, 244, 245);
	}

	.img1 {
		width: 24px;
	}

	.img2 {
		width: 44px;
	}
	.img3 {
		width: 20px;
	}

	.title {
		padding: 5px 10px;
	}

	.navgator {
		background: white;
	}

	.cell {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 20px;
		background: white;
		font-size: 16px;
	}
	
	.cell-right{
		display: flex;
		align-items: center;
		font-size: 17px;
	}

	.text-color {
		color: rgb(149, 152, 171);
	}
</style>
